package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 点检项目表
 * @TableName device_pmts
 */
@TableName(value ="device_pmts")
@Data
public class DevicePmts implements Serializable {
    /**
     * 点检项目编号
     */
    @TableId(type = IdType.AUTO)
    private Integer pmtsId;

    /**
     * 点检项目名称
     */
    private String pmtsName;

    /**
     * 点检项目编码
     */
    private String code;

    /**
     * 点检部位编号(device_pmts_part表)
     */
    private String pmtsPartId;

    /**
     * 点检方法编号(device_pmts_method表)
     */
    private String pmtsMethod;

    /**
     * 点检状态(0-启用 1-禁用)
     */
    private Integer pmtsState;

    /**
     * 点检内容
     */
    private String pmtsContent;

    /**
     * 判定标准
     */
    private String pmtsCalibration;

    /**
     * 判定结果类型编号(device_inspectiontask_result表)
     */
    private Integer pmtsResultId;

    /**
     * 
判定结果选项
     */
    private String pmtsIsresult;

    /**
     * 备注
     */
    private String pmtsNotes;

    /**
     * 创建人
     */
    private String insertPerson;

    /**
     * 创建时间
     */
    private Date insertTime;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private DeviceInspectiontaskResult deviceInspectiontaskResult;

    @TableField(exist = false)
    private SelectType selectType;

    @Override
    public String toString() {
        return "DevicePmts{" +
                "pmtsId=" + pmtsId +
                ", pmtsName='" + pmtsName + '\'' +
                ", code='" + code + '\'' +
                ", pmtsPartId='" + pmtsPartId + '\'' +
                ", pmtsMethod='" + pmtsMethod + '\'' +
                ", pmtsState=" + pmtsState +
                ", pmtsContent='" + pmtsContent + '\'' +
                ", pmtsCalibration='" + pmtsCalibration + '\'' +
                ", pmtsResultId=" + pmtsResultId +
                ", pmtsIsresult='" + pmtsIsresult + '\'' +
                ", pmtsNotes='" + pmtsNotes + '\'' +
                ", insertPerson='" + insertPerson + '\'' +
                ", insertTime=" + insertTime +
                ", updatePerson='" + updatePerson + '\'' +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}